LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := luasql_static

LOCAL_MODULE_FILENAME := libluasql

LOCAL_SRC_FILES := \
	../../../external/sqlite/sqlite3.c \
	../../../external/luasql-2.2.0/src/luasql.c \
	../../../external/luasql-2.2.0/src/ls_sqlite3.c

LOCAL_EXPORT_C_INCLUDES := \
						$(LOCAL_PATH)/../../../external/lua-5.1.4/src \
						$(LOCAL_PATH)/../../../external/sqlite

LOCAL_C_INCLUDES := \
						$(LOCAL_PATH)/../../../external/lua-5.1.4/src \
						$(LOCAL_PATH)/../../../external/sqlite

include $(BUILD_STATIC_LIBRARY)
